package gui;

import javax.swing.Action;
import javax.swing.JFrame;

public class SelectionDialog {
	private static final long serialVersionUID = 1L;
	
	public SelectionDialog(JFrame owner, Action[] actionArray) {
		Dialog dialog = new Dialog(owner);
		dialog.setTitle("Select Model Concept");
		
		for (int i = 0; i < actionArray.length; i++) {
			dialog.addButton(actionArray[i]);
		}
		dialog.create();
	}
}
